Skip to content

fix(dashboards): dashboard card preview misalignment - #114628

Merged
gggritso merged 1 commit into
masterfrom
nikki/fix/dashboard-card-preview-grid
May 4, 2026
Merged

fix(dashboards): dashboard card preview misalignment#114628
gggritso merged 1 commit into
masterfrom
nikki/fix/dashboard-card-preview-grid

Conversation

@nikkikapadia

Copy link
Copy Markdown
Member

Closes DAIN-1580

fixes the widget previews in a dashboard card on the All Dashboards page. I think the grid layout better utilizes indexes instead of the unique ids and measuring before mount produces the incorrect positions

Before After
image image

@linear-code

linear-code Bot commented May 1, 2026

Copy link
Copy Markdown

@nikkikapadia
nikkikapadia marked this pull request as ready for review May 1, 2026 21:33
@nikkikapadia
nikkikapadia requested a review from a team as a code owner May 1, 2026 21:33
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 1, 2026
@gggritso
gggritso merged commit 8d8b3bc into master May 4, 2026
72 checks passed
@gggritso
gggritso deleted the nikki/fix/dashboard-card-preview-grid branch May 4, 2026 18:29
cleptric pushed a commit that referenced this pull request May 5, 2026
Closes DAIN-1580

fixes the widget previews in a dashboard card on the All Dashboards
page. I think the grid layout better utilizes indexes instead of the
unique ids and measuring before mount produces the incorrect positions

| Before | After |
|--------|--------|
| <img width="1216" height="714" alt="image"
src="https://github.com/user-attachments/assets/d8708c27-d4e0-4cf8-b0b0-4ae149f003e6"
/>| <img width="1256" height="697" alt="image"
src="https://github.com/user-attachments/assets/689ed1f2-0e94-4f1c-ac47-fe346ac82d9e"
/> |
@github-actions github-actions Bot locked and limited conversation to collaborators May 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants